package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.StrategyContent;
import cn.wolfcode.trip.base.domain.StrategyDetail;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyDetailService {


    void save(StrategyDetail strategyDetail);



    /**
     * 高级查询
     * @param qo
     * @return
     */
    PageInfo query(QueryObject qo);

    void update(StrategyDetail strategyDetail);

    List<StrategyDetail> selectAll();

    StrategyDetail get(Long id);

    void delete(Long id);

    void saveOrUpdate(StrategyDetail strategyDetail);

    StrategyDetail getContentByStrategyId(Long detailId);
}
